package cn.edu.scau.cmi.xiehaizhou.abstractFactory.factory;

import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domain.PICCAutoDamage;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domain.PICCBodyInjur;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domain.PICCMultiAccidents;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domain.PICCPersonInjur;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domainAbstractClass.AutoDamage;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domainAbstractClass.BodyInjur;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domainAbstractClass.MultiAccidents;
import cn.edu.scau.cmi.xiehaizhou.abstractFactory.domainAbstractClass.PersonInjur;

public class PICCPolicy extends PolicyProducer {

	@Override
	public AutoDamage getAutoDamage() {
		
		return new PICCAutoDamage();
	}

	@Override
	public BodyInjur getBodyInjur() {
		return new PICCBodyInjur();
	}

	@Override
	public MultiAccidents getMultiAccidents() {
		return new PICCMultiAccidents();
	}

	@Override
	public PersonInjur getPersonInjur() {
		return new PICCPersonInjur();
	}

}
